Repository navigation
[0-size Tensor No.75] Add 0-size Tensor support for hstack - #72996
Merged
Merged
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
DanielSun11
requested changes
Jun 3, 2025
| d0 = generate_data([], count=1, dtype='float64') | ||
| d1 = generate_data([1], count=1, dtype='float64') | ||
| self._test_all(rearrange_data(d0, d1)) | ||
|
|
Contributor
There was a problem hiding this comment.
这几个测试的case都是有关于0-dim的,请补充几个0-size的单测,比如shape为[5,0] 、[0,5]这种
Collaborator
Author
|
/re-run all-failed |
1 similar comment
Collaborator
Author
|
/re-run all-failed |
wanghuancoder
approved these changes
Jun 10, 2025
shanjiang7
pushed a commit
to shanjiang7/Paddle
that referenced
this pull request
Jun 12, 2025
…dle#72996) * add unittest * fix * fix * fix * fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Category
Execute Infrastructure
PR Types
Improvements
Description
当前PR为增加单测
develop代码测试cpu和gpu没问题: